home *** CD-ROM | disk | FTP | other *** search
- global gMovieSprite, gMovieDuration, gWhichCamera, gMarkers, gAutomated, gAutoInUse, gStartTime, gStartTime1, gStartTime2, gStopTime, gStopTime1, gStopTime2, gStoredTime, gWhichMovie, gWhichClip, gMovie1TimeCodes, gMovie2TimeCodes, gMovie3TimeCodes, gMovie4TimeCodes, gRecording, gPlaying, gStaring, gMoviePauseState, gSliderSprite, gDontReturnTo0
-
- on exitFrame
- cursor(200)
- cursor(-1)
- if gAutomated = 0 then
- set the movieRate of sprite gMovieSprite to 0
- end if
- setMarkers()
- if gAutoInUse = 0 then
- updateCamera()
- if gStaring = 0 then
- set the visible of sprite 32 to 1
- puppetSprite(32, not gRecording)
- else
- set the visible of sprite 32 to 0
- puppetSprite(32, not gRecording)
- end if
- set the visible of sprite 33 to 1
- if gStaring = 1 then
- puppetSprite(33, 1)
- else
- puppetSprite(33, not gPlaying)
- end if
- puppetSprite(34, not gStaring)
- puppetSprite(gSliderSprite, 1)
- end if
- if gAutoInUse = 1 then
- set the movieRate of sprite gMovieSprite to 1
- else
- if gAutomated = 0 then
- set timeCodes to EMPTY
- do("set timeCodes=getAt (gMovie" & gWhichMovie & "TimeCodes, gWhichClip)")
- set gStartTime1 to getAt(timeCodes, 1) + 12
- set gStopTime1 to getAt(timeCodes, 2) - 30
- set gStartTime2 to getAt(timeCodes, 3) + 12
- set gStopTime2 to getAt(timeCodes, 4) - 30
- if gWhichCamera = "A" then
- set gStartTime to gStartTime1
- set gStopTime to gStopTime1
- else
- set gStartTime to gStartTime2
- set gStopTime to gStopTime2
- end if
- if gDontReturnTo0 = 1 then
- set gDontReturnTo0 to 0
- else
- set the movieTime of sprite gMovieSprite to gStartTime
- end if
- set the movieRate of sprite gMovieSprite to gPlaying
- else
- set the movieTime of sprite gMovieSprite to gStartTime
- set the movieRate of sprite gMovieSprite to gStaring
- end if
- end if
- cursor(-1)
- end
-